﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ARS.Control.Custom.Entity.Fields;

namespace ARS.Control.Custom.Entity.Model
{
    /// <summary>
    /// ARS_Control_ChoicesDialogField_Attr:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class ARS_Control_ChoicesDialogField_Attr
    {
        public ARS_Control_ChoicesDialogField_Attr()
        { }
        #region Model
        private int _ars_control_choicesdialogfield_attr_id;
        private string _listurl;
        private string _datavalueclassname;
        private string _datatextclassname;
        private int? _maxchoicesnum;
        private bool _isencryptkey;
        private int? _ars_control_dbselecthtmlselect_attr_id;
        /// <summary>
        /// 
        /// </summary>
        [KeyField()]
        public int ARS_Control_ChoicesDialogField_Attr_Id
        {
            set { _ars_control_choicesdialogfield_attr_id = value; }
            get { return _ars_control_choicesdialogfield_attr_id; }
        }
        /// <summary>
        /// 
        /// </summary>
        [CharField(Verbose_Name = "ListUrl")]
        public string ListUrl
        {
            set { _listurl = value; }
            get { return _listurl; }
        }
        /// <summary>
        /// 
        /// </summary>
       [CharField(Verbose_Name = "DataValueClassName")]
        public string DataValueClassName
        {
            set { _datavalueclassname = value; }
            get { return _datavalueclassname; }
        }
        /// <summary>
        /// 
        /// </summary>

       [CharField(Verbose_Name = "DataTextClassName")]
       public string DataTextClassName
        {
            set { _datatextclassname = value; }
            get { return _datatextclassname; }
        }
        /// <summary>
        /// 
        /// </summary>
        [IntegerField(Verbose_Name = "MaxChoicesNum")]
        public int? MaxChoicesNum
        {
            set { _maxchoicesnum = value; }
            get { return _maxchoicesnum; }
        }
        /// <summary>
        /// 
        /// </summary>
       [BooleanField(Verbose_Name = "IsEncryptKey", SelectValue = "1", UnSelectValue = "0")]
        public bool IsEncryptKey
        {
            set { _isencryptkey = value; }
            get { return _isencryptkey; }
        }
        /// <summary>
        /// 
        /// </summary>
        [ForeignKeyConfig(TableName=Const.ARS_Control_DbSelectHtmlSelect_Attr.ARS_CONTROL_DBSELECTHTMLSELECT_ATTR,KeyField=Const.ARS_Control_DbSelectHtmlSelect_Attr.ARS_CONTROL_DBSELECTHTMLSELECT_ATTR_ID,DataTextField=Const.ARS_Control_DbSelectHtmlSelect_Attr.DATATEXTFIELD)]
        [ForeignKeyField(Verbose_Name = "DbSelectHtmlSelect属性")]
        public int? ARS_Control_DbSelectHtmlSelect_Attr_Id
        {
            set { _ars_control_dbselecthtmlselect_attr_id = value; }
            get { return _ars_control_dbselecthtmlselect_attr_id; }
        }
        #endregion Model

    }
}
